package com.example.herosystem.entity;

public class Hero
{
	private int id;
	private String name;
	private int iq;
	private int power;
	private int command;
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getIq()
	{
		return iq;
	}
	public void setIq(int iq)
	{
		this.iq = iq;
	}
	public int getPower()
	{
		return power;
	}
	public void setPower(int power)
	{
		this.power = power;
	}
	public int getCommand()
	{
		return command;
	}
	public void setCommand(int command)
	{
		this.command = command;
	}
	public Hero(int id, String name, int iq, int power, int command)
	{
		super();
		this.id = id;
		this.name = name;
		this.iq = iq;
		this.power = power;
		this.command = command;
	}
	public Hero()
	{
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString()
	{
		return  id + "\t" + name + "\t" + iq + "\t" + power + "\t" + command + "";
//		return "Hero [id=" + id + ", name=" + name + ", iq=" + iq + ", power=" + power + ", command=" + command + "]";
	}
	
	

}
